<div class="row justify-content-center">
    <div class="col-8">
        <div *ngIf="userInfo">
            <h2><span jhiTranslate="husenApp.userInfo.detail.title">User Info</span> {{userInfo.id}}</h2>
            <hr>
            <jhi-alert-error></jhi-alert-error>
            <dl class="row-md jh-entity-details">
                <dt><span jhiTranslate="husenApp.userInfo.vipLevelName">Vip Level Name</span></dt>
                <dd>
                    <span>{{userInfo.vipLevelName}}</span>
                </dd>
                <dt><span jhiTranslate="husenApp.userInfo.vipState">Vip State</span></dt>
                <dd>
                    <span>{{userInfo.vipState}}</span>
                </dd>
                <dt><span jhiTranslate="husenApp.userInfo.vipSale">Vip Sale</span></dt>
                <dd>
                    <span>{{userInfo.vipSale}}</span>
                </dd>
                <dt><span jhiTranslate="husenApp.userInfo.vipTime">Vip Time</span></dt>
                <dd>
                    <span>{{userInfo.vipTime}}</span>
                </dd>
                <dt><span jhiTranslate="husenApp.userInfo.conSume">Con Sume</span></dt>
                <dd>
                    <span>{{userInfo.conSume}}</span>
                </dd>
                <dt><span jhiTranslate="husenApp.userInfo.user">User</span></dt>
                <dd>
                    {{userInfo.userId}}
                </dd>
            </dl>

            <button type="submit"
                    (click)="previousState()"
                    class="btn btn-info">
                <fa-icon [icon]="'arrow-left'"></fa-icon>&nbsp;<span jhiTranslate="entity.action.back"> Back</span>
            </button>

            <button type="button"
                    [routerLink]="['/user-info', userInfo.id, 'edit']"
                    class="btn btn-primary">
                <fa-icon [icon]="'pencil-alt'"></fa-icon>&nbsp;<span jhiTranslate="entity.action.edit"> Edit</span>
            </button>
        </div>
    </div>
</div>
